Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

298
Vistas
How to solve "'app name' is not a registered namespace"

I have a "NoReverseMatch" error. How can I solve this?

File Project_name/urls.py

path('orders/', include('orders.urls')),

File ordres/urls.py

from .views import chack_out
path('chack_out/', chack_out, name='chack_out')

File ordres/views.py

def chack_out(request):
    .....

File product(anther app name)/templates/product/cart.html

<form action="{% url 'orders:chack_out' %}" method="POST">
     {% csrf_token %}

Error page

Enter image description here

over 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Add the desired namespace to the urls.py file:

path('orders/', include('orders.urls', namespace='orders')),

or set the app_name attribute inside the ordres/urls.py file:

from .views import chack_out

app_name = 'orders'
urlpatterns = [
    path('chack_out/', chack_out, name='chack_out')
]

Check out the documentation for URL namespaces.

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda